package template.practice_02;

/**
 * @author yi qiang
 * @date 2021/9/11 1:47
 */
public class TvHandler extends AbsHandler {
    @Override
    public void preHandle() {
        System.out.println("打开电视机电源");
    }

    @Override
    public void handle() {
        System.out.println("看电视");
    }

    @Override
    public void postHandle() {
        System.out.println("关闭电视机电源");
    }
}
